package cn.ac.jaas.isc.vegetable.gateway;

import cn.ac.jaas.isc.vegetable.common.gateway.annotation.EnableVegetableDynamicRoute;
import cn.ac.jaas.isc.vegetable.common.swagger.annotation.EnableVegetableSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 张高昌
 * @date 2022/4/23 21:18
 * @description: 网关应用
 */
@EnableVegetableSwagger2
@EnableVegetableDynamicRoute
@EnableDiscoveryClient
@SpringBootApplication
public class VegetableGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(VegetableGatewayApplication.class, args);
    }
}
